.yd_headerTop_content {
    justify-content: space-between;
}

.yd_headerTop {
    background: hsla(0,0%,100%,.7);
    backdrop-filter: saturate(180%) blur(6px);
    box-shadow: 0 0 25px rgb(0 0 0 / 10%);
}

.yd_headerTop h1 {
    width: 203px;
    height: 60px;
    box-sizing: border-box;
    margin-right: 25px;
    text-align: center;
}

.yd_headerTop h1 img {
    height: 50px;
    padding-top: 4px;
}

.yd_headerTop_nav {
    flex: 1;
}

.yd_headerTop_nav > ul > li {
    flex: 1;
    text-align: center;
    line-height: 60px;
}

.yd_headerTop_nav > ul > li > a {
    display: block;
}


.yd_headerBottom_nav {
    width: 1050px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    margin-top: 10px;
    padding: 18px;
    box-sizing: border-box;
}

.yd_headerBottom_nav ul li {
    flex: 1;
    line-height: 34px;
    text-align: center;
    margin: 0 20px;
}

.yd_headerBottom_nav > ul > li > a {
    display: block;
    border-radius: 5px;
    font-size: 12px;
}

.yd_headerBottom_nav > ul > li > a:hover,
.yd_headerBottom_nav > ul li:first-child a {
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
}


.yd_main > section {
    width: 1050px;
    margin: 10px auto;
}

.yd_main .yd_mainItem {
    width: 251.25px;
    margin: 0 15px 20px 0;
}

.yd_main .yd_mainItem:nth-child(4n) {
    margin-right: 0;
}

.yd_mainItem_top h2 img {
    width: 100%;
    border-radius: 5px;
}

.yd_mainItem_top {
    margin-bottom: 20px;
}

.yd_mainItem_bottom {
    font-size: 12px;
}

.yd_mainItem_bottomContent1 {
    margin-bottom: 5px;
}

.yd_mainItem_bottomContent1 > span {
    padding: 2px 5px;
    background-color: blueviolet;
    color: white;
    border-radius: 5px;
    margin-right: 6px;
}

.yd_mainItem_bottomContent1 > em {
    color: rgba(0, 0, 0, 0.8);
    align-items: center;
}

.yd_mainItem_bottomContent1 > i {
    padding-top: 2px;
    text-align: right;
    flex: 1;
}

#yd_mainItem_time {
    color: rgba(0, 0, 0, 0.5);
    margin-right: 5px;
    line-height: 20px;
}

.yd_mainItem_bottomContent2 em {
    line-height: 20px;
}

.yd_mainItem_bottomContent2 i {
    padding: 2px 5px;
    color: white;
    background-color: chocolate;
    border-radius: 5px;
    margin-left: 47px;
}



/* 响应式样式-start */

/* 大型设备(大台式电脑，1200px 起) */
@media screen and (min-width:1200px) {
}
 
/* 中型设备(台式电脑，992px 起) */
@media screen and (min-width:992px) and (max-width:1200px) { 
    .yd_headerTop_content {
        width: 902px;
        min-width: 902px;
    }

    .yd_headerBottom_nav {
        width: 72%!important;
        min-width: 802px;
    }

    .yd_mainContent {
        width: 72%!important;
        min-width: 802px;
    }

    .yd_main .yd_mainItem {
        width: calc(100% / 3 - 10px);
    }

    .yd_main .yd_mainItem:nth-child(4n) {
        margin-right: 15px;
    }

    .yd_main .yd_mainItem:nth-child(3n) {
        margin-right: 0;
    }
}

.yd_headerTop_smallNav {
    cursor: pointer;
    display: none;
}

/* 小型设备(平板电脑，768px 起) */
@media screen and (min-width:768px) and (max-width:992px) {
    .yd_headerTop_content {
        width: 85%;
        min-width: 768px;
    }

    .yd_mainContent {
        width: 72%!important;
        min-width: 740px;
    }

    
    .yd_main .yd_mainItem {
        width: calc(100% / 3 - 10px);
    }

    .yd_main .yd_mainItem:nth-child(4n) {
        margin-right: 15px;
    }

    .yd_main .yd_mainItem:nth-child(3n) {
        margin-right: 0;
    }

    .yd_headerTop_nav {
        display: none;
    }

    .yd_headerTop_smallNav {
        width: 60px;
        line-height: 60px;
        font-size: 24px;
        display: block;
        text-align: center;
    }


    .yd_headerBottom_nav {
        width: 72%!important;
        min-width: 740px;
    }
}
 
/* 超小设备(手机，小于 768px) */
@media screen and (max-width:768px) {
    .yd_headerTop_nav {
        display: none;
    }
    .yd_headerTop_content {
        min-width: 340px;
        width: 85%;
    }
    .yd_headerTop_smallNav {
        width: 60px;
        line-height: 60px;
        font-size: 24px;
        display: block;
        text-align: center;
    }

    .yd_mainContent {
        width: 76%!important;
        min-width: 320px;
    }

    
    .yd_main .yd_mainItem {
        width: calc(100% / 2 - 10px);
    }

    .yd_main .yd_mainItem:nth-child(3n) {
        margin-right: 15px;
    }

    .yd_main .yd_mainItem:nth-child(2n) {
        margin-right: 0;
    }

    .yd_headerBottom_nav {
        width: 76%!important;
        min-width: 320px;
    }

    .yd_headerBottom_nav ul {
        flex-wrap: wrap;
        min-width: 284px;
    }

    .yd_headerBottom_nav > ul > li {
        flex: auto!important;
        width: calc(100% / 4);
        margin: 0 5px 5px 0!important;
    }

    .yd_headerBottom_nav > ul > li:nth-child(3n) {
        margin-right: 0!important;
    }

    .yd_headerBottom_nav > ul > li:nth-child(n + 6) {  
        margin-bottom: 0!important;
    }
}

@media screen and (max-width:530px) {
    .yd_mainContent {
        width: 76%!important;
        min-width: 320px;
    }

    .yd_main .yd_mainItem {
        width: 100%;
    }

    .yd_main .yd_mainItem {
        margin-right: 0;
    }
}
/* 响应式样式-end */